import request from '@/utils/request'

export const GetSourceService = (type, id) =>
  request.get('/sources/query?type=' + type + '&id=' + id)

export const EditSourceService = (data) => request.post('/sources/edit', data)

export const DeleteSourceService = (id) =>
  request.get('/sources/remove?id=' + id)
